<div class="main-content">
	<section>
    <fieldset>
      <legend>
        <?php if($program->name ='Activities'){ echo 'Additional Information';  ?>
        <?php }else{ echo 'User Information'; } ?>
      </legend>

      <table class="custom full">
        <?php
          $arr_length = count($fields);
          $a = 0;
          foreach($model->attributes as $m){
        ?>
        <tr>
          <th><label><?php echo str_replace('_',' ',ucwords($fields[$a])); ?></label></th>
          <td>
            <?php 
                echo $m;
            ?>
          </td>
        </tr>
        <?php
          $a++; }
        ?>
      </table>
    </fieldset>
	</section>
</div>